import { SetMetadata } from '@nestjs/common';
import { HandleStatus } from './../../../../libs/db/src/entity/enum/handle-status.enum';

export const LoggerInfo = (info: moduleLoggerInfo) => SetMetadata('loggerInfo', info);

export class moduleLoggerInfo {
  /**
   *
   */
  constructor(handleName: string, handleStatus: HandleStatus = HandleStatus.LOG) {
    this.handleName = handleName,
    this.handleStatus = handleStatus
  }
  
  handleName: string
  handleStatus: HandleStatus
}